<!DOCTYPE HTML>
<html>
<head>
    <title>注册</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
</head>
<style>
    .main {
        width: 400px;
        height: 430px;
        margin: 150px auto;
        border: aliceblue solid 2px;
    }

    .main-top {
        overflow: hidden;
        width: 400px;
        height: 190px;
        background-color: #1f1c4e;
    }

    .main-top img {
        display: block;
        width: 100px;
        height: 100px;
        margin: 20px auto;
    }

    .world {
        font-size: 23px;
        color: white;
        text-align: center;

    }

    .main-body {
        background-color: #FFFFFF;
    }

</style>
<body>
<div class="main">
    <div class="main-top">
        <img src="timg.jpg" alt="">
        <div class="world">注册页面</div>
    </div>
    <div class="main-body">
        <form id="new_user_form" action="/register" method="post">
            <table border="1" style="width: auto; margin: 50px auto;">
                <tr>
                    <td style="font-size: 18px">用户名:</td>
                    <td style="font-size: 18px">
                        <input type="text" name="name" data-options="required:true,missingMessage:'用户名必填'"/>
                    </td>
                </tr>
                <tr>
                    <td style="font-size: 18px">密码:</td>
                    <td style="font-size: 18px">
                        <input type="password" name="password" data-options="required:true,missingMessage:'密码必填'"/>

                </tr>
                <tr>
                    <td style="text-align: center" colspan="2" bgcolor="#ffebcd">
                        <input type="submit" value="注册" style="text-align: center"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>
    <div class="body-login" style=" text-align:center;">
        <a href="/toIndex"> <b>返回首页</b></a>
    </div>
</div>
</body>

<script>


</script>
</html>